package com.jintu.portal.pojo.entity;

import com.jintu.portal.pojo.bean.BaseEntity;

import javax.persistence.*;

@Entity
@Table(name = "menu")
public class Menu extends BaseEntity {

    private Integer id;

    /**
     * 图标icon
     */
    private String iconUrl;

    /**
     * 头部图
     */
    private String headUrl;

    /**
     * 尾部图，即拉新流程图
     */
    private String foodUrl;

    /**
     * 二维码图
     */
    private String codeUrl;


    /**
     * 二维码包边色值
     */
    private String codeCoverColor;


    /**
     * 状态栏色值
     */
    private String topColor;


    /**
     * 页面大title
     */
    private String title;


    /**
     * 二级描述
     */
    private String subTitle;

    /**
     * 菜单类型 1: 最热业务  2:推广任务
     */
    private Integer type;

    private Integer sort;


    @Id
    @GeneratedValue
    @Column(name = "id")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getFoodUrl() {
        return foodUrl;
    }

    public void setFoodUrl(String foodUrl) {
        this.foodUrl = foodUrl;
    }

    public String getCodeUrl() {
        return codeUrl;
    }

    public void setCodeUrl(String codeUrl) {
        this.codeUrl = codeUrl;
    }

    public String getCodeCoverColor() {
        return codeCoverColor;
    }

    public void setCodeCoverColor(String codeCoverColor) {
        this.codeCoverColor = codeCoverColor;
    }

    public String getTopColor() {
        return topColor;
    }

    public void setTopColor(String topColor) {
        this.topColor = topColor;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

}
